package zzh.com.myapplication;

import android.app.Service;
import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;
import android.support.annotation.Nullable;

import zzh.com.myapplication.apk.DownLoadService;

/**
 * @author zzh
 * @Name:
 * @Description:
 * @date
 * @time
 * @copyright
 */
public class ServiceTest extends Service {
    @Nullable
    @Override
    public IBinder onBind(Intent intent) {
        return new MyBiner();
    }

    public class MyBiner extends Binder {
        public ServiceTest getService() {
            return ServiceTest.this;
        }
    }
}
